<!--河南星辰软件科技有限公司
@copyright Copyright (c) 2010~2022 All rights reserved.
-->
<template>
  <div class='app-container'>
    <el-form ref="form" :rules="rules" label-width="100px" id="mvcfm">
      <el-button @click="gotoPage('/mes/produce/DevMaintainRelation?'+vueparams+'')" type='primary' size="mini">保存</el-button>
      <el-button @click="gotoPage('/mes/produce/DevMaintainRelation?'+vueparams+'')" type='primary' size="mini"><i class='fa fa-reply'></i>取消</el-button>
      <div class="form-unit">
        <span class="mvc-title-left"> 添加生产设备 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="供应商" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="--None--" value="--None--" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="制造商" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="--None--" value="--None--" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="序列号" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="型号版本" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="简要描述" prop="">
              <el-input type="textarea" v-model="empty" ttparea=350></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="列示日期" prop="">
              <el-date-picker v-model="empty" type="date" style='width:100%' value-format="yyyy-MM-dd" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-select style='width:100%' v-model="empty">
              <el-option label="GMT + 8 Hong Kong" value="GMT + 8 Hong Kong" />
            </el-select>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="位置" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="生产设备条形码" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="状态" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="在用" value="在用" />
                <el-option label="需维护" value="需维护" />
                <el-option label="封存" value="封存" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <div class="form-unit">
        <span class="mvc-title-left"> 分类 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="层次1" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="Undetermined" value="Undetermined" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="层次2" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="Undetermined" value="Undetermined" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="层次3" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="Undetermined" value="Undetermined" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <div class="form-unit">
        <span class="mvc-title-left"> 服务联系人 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="24">
            <el-form-item label="服务合同号码" prop="">
              <el-link @click="gotoPage('EFE9FEDDAE5A49208DF6D31BE2A507BE?'+vueparams+'')" type='primary'></el-link>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="联系人" prop="">
              <el-select style='width:100%' v-model="empty">
                <el-option label="--无--" value="--无--" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <div class="form-unit">
        <span class="mvc-title-left"> 保修信息 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="购买日期" prop="">
              <el-date-picker v-model="empty" type="date" style='width:100%' value-format="yyyy-MM-dd" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-select style='width:100%' v-model="empty">
              <el-option label="GMT + 8 Hong Kong" value="GMT + 8 Hong Kong" />
            </el-select>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="包括" prop="">
              <el-input type="textarea" v-model="empty" ttparea=350></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
            <el-form-item label="排除" prop="">
              <el-input type="textarea" v-model="empty" ttparea=350></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <div class="form-unit">
        <span class="mvc-title-left"> 财务信息 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="12">
            <el-form-item label="购买日期" prop="">
              <el-date-picker v-model="empty" type="date" style='width:100%' value-format="yyyy-MM-dd" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-select style='width:100%' v-model="empty">
              <el-option label="GMT + 8 Hong Kong" value="GMT + 8 Hong Kong" />
            </el-select>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="购买成本" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="订单号码" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="购买自" prop="">
              <el-input v-model="empty" />
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <div class="form-unit">
        <span class="mvc-title-left"> 其他信息 </span>
      </div>
      <div>
        <el-row>
          <el-col :span="24">
            <el-form-item label="备注" prop="">
              <el-input type="textarea" v-model="empty" ttparea=350></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </div>
      <el-button @click="gotoPage('/mes/produce/DevMaintainRelation?'+vueparams+'')" type='primary' size="mini">保存</el-button>
      <el-button @click="gotoPage('/mes/produce/DevMaintainRelation?'+vueparams+'')" type='primary' size="mini"><i class='fa fa-reply'></i>取消</el-button>
    </el-form>
  </div>
</template>
<script>
  import request from '@/utils/request'
  export default {
    name: 'RelationAddDev',
    components: {},
    props: ['popparams'],
    data() {
      return {
        vueparams: this.getVUEParams(""),
        loading: false,
        rules: {}
      }
    },
    created() {},
    updated() {},
    mounted() {},
    methods: {},
  }
</script>
